If a woman gives birth to a child but she has not had contact with her husband for 4 months during pregnancy, and 1 month after giving birth she gets divorced without a contract with him, should she complete her iddat (period of waiting)?
This is mostly answered by:
Divorced women remain in waiting for three periods ...
Here, periods are considered menstrual cycles (see e.g. Tanwîr al-Miqbâs min Tafsîr Ibn ‘Abbâs). However, after giving birth it's likely menses is not taking place, where the Qur'an says it's three months:
And those who no longer expect menstruation among your women - if you doubt, then their period is three months ...