it’s not necessary in heaven you can just wish for anything if you want to get married in afterlife that’s fine and if you want to stay single in heaven that’s fine too for example if my heart is telling me to be single in heaven I can just simply ask allah and he’ll take my husband away from me just so that I can be single.