This comment is only about a man divorcing his wife and taking her back. In Surah al-Baqarah 2:229, Allah said,
The divorce is twice, after that, either you keep [her] on acceptable manner or release [her] with kindness...
A man can divorce his wife twice, with the third being final one.
In Surah al-Baqarah 2:228:
And divorced women shall wait for three menstrual periods (quru), and it is not lawful for them to conceal what Allah has created in their wombs, if they believe in Allah and the Last Day. And their husbands have the better right to take them back in that period, if they wish for reconciliation...
If a husband divorces his wife once, and she has not completed her 3 menstrual periods, he can take her back. If he divorces her the second time, and she has not completed her 3 menstrual periods, he can still take her back. But the third divorce is the final and cannot take her back.
From this understanding about divorce, you should be able to conclude what happened inshaAllah.