Your desire to protect your funds may be self-seeking. Or it may be a matter of survival. But either way, your spouse has the legal grounds to claim all or part of your 401k benefits in a divorce settlement. And in most cases, you'll have to find a way to make a fair and equitable split of the funds.