The estate of each of the parties. The liabilities of each of the parties. The needs of each of the parties. The opportunity of each party for future acquisition of capital assets and income. The contribution of each of the parties in the acquisition, preservation or appreciation in value of their respective estates.
Every state has a different set of laws.
It will depend on when it was received, whether it was co-mingled with other assets, and what other assets are available to you and your spouse. You may get a share of the pension, or other assets to offset the value of your spouse's pension.