Your pension is an asset that the court has jurisdiction over, just like any other asset involved in the case, such as your house, other retirement accounts, or personal property like cars or stocks and bonds. When the court looks at your pension, the first step is to classify the asset as either separate, marital, or part separate and part marital.
Once the court has done that, typically using a formula, it will decide what portion of the marital share should go to each spouse. When dealing with a pension, you are usually talking about a future right to receive income, and the court will decide what percentage of that future income will go to each spouse.
In most cases, the court has jurisdiction over pensions, and they are usually divisible and payable to the spouse who does not own the pension directly in the future.