Spouses during the Resurrection of the Dead

Q: If a woman was married to two different men during her lifetime who will she be with after the Resurrection of the Dead?
A: There is an answer to this question in the book "Piskei Teshuvah" of Ha-Rav Avraham Pitrakovsky (#124). He quotes the book "Shut Matzav Ha-Yashar" on the Zohar that there was a young woman who was married a wonderful man and he died at a relatively young age. The young women did not want to marry again. She said, "Why should I get married to someone else? During the Resurrection of the Dead I will be married to my second husband, and my first husband is dearer to me than anything. I prefer to remain a widow all of my life and then be married to my true soul-mate." There is a similar question in the book "Ha-Techiya Ve-Ha-Pedut" (question #6) of Ha-Rav Sa'adia Gaon: how will I find my wife during the Resurrection of the Dead? Ha-Rav Sa'adia did not want to answer since it is forbidden to answer a halachic question before someone who is greater than him in wisdom. Since this is a question of the Resurrection of the Dead, Moshe Rabbenu will be there and it is therefore forbidden for me to answer. If there are questions that arise now - what can we do? We have to answer them. Questions that have to do with the future, however, we leave for Moshe Rabbenu and the other prophets. It therefore seems that the question in "Shut Matzav Ha-Yashar" cannot be answered, but this is before the Zohar was revealed. After the Zohar was revealed, it contains the answer to our question. Regarding a Jewish servant, the verse says, "If he arrives by himself, he leaves by himself; if he is the husband of a woman, his wife leaves with him" (Shemot 21:3). This means that he enters the Resurrection of the Dead with his wife – his first wife. There are commentators who explain that the meaning of the Zohar is that she will return to her true spouse, i.e. the most successful marriage (see note in Piskei Teshuvah). Thus, she will return to the marriage which was filled with the most love, fraternity, peace and friendship.