If you’re dividing up your 401(k) prior to divorcing then you would be responsible for paying any taxes or penalties owed. Waiting until after the divorce is finalized to split your 401(k) with your former spouse could reduce the amount of taxes and penalties you owe.