There will be no marriage in heaven,for all the saints will be a soul with a glorified body,so they are all the same essence and no difference between them,and all spirits go back to God who gave them.
That is why Jesus said they will not marry in heaven,but be like the angels,for the angels have no gender,but are all the same essence.
So the people that were married on earth,will no longer be married in heaven,for the flesh is put off,and they are the same essence,which people can only marry while in the flesh,for there is a difference between them,and the only thing that separates a man and a woman is the flesh,the spirit and soul are the same,and they will put off the flesh,and the glorified body is all the same with no gender.
But when the resurrection happens the saints will still remember this earth,and heaven,but when they get to the New Jerusalem,the new earth,and new heaven,the former earth shall not be remembered,or come to mind.
So when the saints get to the New Jerusalem,the final destination of the saints,they will not even remember they had a spouse,and they will not remember anything concerning the earth,never knew it existed,and it will never come to mind,and all they will know is the New Jerusalem,and what they observe there,and will know nothing of anything else,and the same with the angels,they will not remember anything either.
And that is because it is a fresh start,and rebellion will never come up again.