In England & Wales unless it was a short marriage it doesn't matter whether assets (including pensions) are held solely or in joint names they all need to be disclosed and shared according to a check list of factors in s25 Matrimonial Causes Act 1973.
Usually "needs" comes at the top of the list, or very near the top, but without knowing the particular facts relating to incomes, assets, liabilities, ages, duration of the relationship etc it is only possible to generalise.