Some people make that a clause in the pre-nup. It all depends how you word the agreement and what the terms of the marriage dissolving are. Some couples do have clauses for adultery in there where the other spouse would be compensated. You just need a damn good lawyer to write a good pre-nup agreement.