Question:
A man divorced a pregnant woman, and then he died. When can the woman marry again?
Answer:
Whether a pregnant woman is divorced or her husband dies, her waiting period (‘iddah) in every case is until she gives birth. After giving birth, she may marry again.
وَأُولَاتُ الْأَحْمَالِ أَجَلُهُنَّ أَنْ يَضَعْنَ حَمْلَهُنَّ
Reference: ﴿Al-Talaq: 4﴾
The waiting period of pregnant women is until they give birth.