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)?
Divorced women remain in waiting for three periods ... Qur'an 2:228
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 ... Qur'an 65:4
Like any library, Islam Stack Exchange offers great information, but does not offer personalized advice or legal verdicts, and does not take the place of seeking such advice from your Mufti, Imam, or other trustworthy Counselor.