Ref. No.1411/42-839
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
A married woman will live with her worldly husband in the Heaven and she will be the leader of the virgins whom the husband meets. And if a woman in the world remarries after the death or divorce of her husband, then she will have the option in the Heaven to stay with whichever husband she wants to live with. And a believing virgin girl will be married to a boy of her choice. If she does not like a man, then Allah will create a man from Hoor-e-Ain and marry her.
"، قلت: يا رسول الله المرأة منا تتزوج الزوجين والثلاثة والأربعة ثم تموت فتدخل الجنة ويدخلون معها، من يكون زوجها؟ قال: " يا أم سلمة إنها تخير فتختار أحسنهم خلقاً، فتقول: أي رب إن هذا كان أحسنهم معي خلقاً في دار الدنيا فزوجنيه، يا أم سلمة ذهب حسن الخلق بخير الدنيا والآخرة'' (23/ 367، وفي الغرائب: ولو ماتت قبل أن تتزوج تخیّر أیضًا، إن رضیت بآدميّ زوجت منہ، وإن لم ترض فاللہ یخلق ذکرًا من الحور العین، فیزوجہا منہ۔
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband