In Mormonism, a couple may seal their marriage "for time and for all eternity" through a "sealing" ceremony conducted within LDS Temples. The couple is then believed to be bound to each other in marriage throughout eternity if they live according to their covenants made in the ceremony. Mormonism also allows living persons to act as proxies in the sealing ceremony to "seal" a marriage between ancestors who have been dead for at least one year and who were married during their lifetime. According to LDS theology, it is then up to the deceased individuals to accept or reject this sealing in the spirit world before their eventual resurrection. A living person can also be sealed to his or her deceased spouse, with another person (of the same sex as the deceased) acting as proxy for that deceased individual.