The duration of iddah for a pregnant woman lasts until childbirth; this ruling is the same regardless of whether the woman's husband died or she was divorced.
۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔
دلائل:
القرآن الکریم: (الطلاق، الایة: 4)
واولات الاحمال اجلہن ان یضعن حملہن....الخ
Allah the Almighty knows best.
Darul ifta Al-Ikhlas, Karachi.