In practice, marriages can violate canon law in several respects. For example, they cannot prepare for a marriage on terms that concern the future. According to the Code of Canon Law, „a marriage linked to a condition of the future cannot be concluded effectively”. (CIC 1102) In some countries, including the United States, Belgium and the Netherlands, the marriage contract provides not only for what happens in the event of divorce, but also for the protection of part of the property during the marriage, for example in the event of bankruptcy. Many countries, including Canada, France, Italy and Germany, have matrimonial regimes, in addition to or, in some cases, in place of marriage contracts. In a marriage contract, it is possible to insert a sunset provision stipulating that the contract expires after a certain period. In Maine, the contract expires for marriage contracts concluded before the 1st Unless the parties extend it, they were completed on October 1, 1993, automatically after the birth of a child.  In other states, a certain number of years of marriage result in the expiration of a marriage contract. In states that have passed the Uniform Premarital Agreement Act (UPAA), there is no sunset provision by law, but one could be under private contract.
Note that states have different versions of the UPAA. In the event of divorce, a prenup can protect one spouse from liability for the debt that the other spouse incurred in the marriage. Whether or not to implement a post-terminate contract depends largely on the state in which you live. Some States take a tough approach to the implementation of post-national agreements. If there is evidence that the parties have not disclosed their financial information in its entirety and fairly, the entire agreement could be rejected. In Judaism, the Ketubah, a marriage contract, has long been established as an integral part of Jewish marriage and is signed and read at marriage. It contains the obligation for the husband to support his wife by providing her with food, clothing and sexual relations and by providing the wife`s help in the event of divorce or the death of the husband. .