We should point out with regard to the divorces mentioned that whatever the shari court had ruled to be valid is valid, or if you already asked a scholar whatever he told you was valid is valid.
If there is no court ruling or scholarly verdict concerning these divorces, then what appears to us to be the case is the following:
The first divorce: if this divorce was issued in a state of extreme anger that drove him to divorce, and without that anger he would not have issued that divorce, then it does not count as such according to the more correct opinion, even if the husband was aware of what he was saying when he was in that state of anger. See the answer to question no. 45174
The second divorce: this comes under the heading of a conditional divorce in which reference should be made to the husband's intention. If he intended it as a divorce then it counts as such, but if he intended thereby to threaten and stop you doing something, then he has to offer expiation for breaking an oath (kafaarat al-yameen). If he cannot remember what his intention was, then it counts as a divorce.
The third divorce: if the husband was truly afraid that you would kill the children or do them some obvious harm, then his divorce does not count as such, because it was a divorce under compulsion.
The fourth divorce: this comes under the heading of conditional divorce and does not count as such unless you did complain about your problems to anyone, and the husband did intend divorce by what he said.
The fifth divorce: also comes under the heading of conditional divorce. If the husband intended it as a divorce then it counts as such.
Based on that, if you find out the kind of anger that accompanied the first divorce, then you will know the ruling on it.
By referring to the husband and asking him about his intention, the ruling on the second divorce will become clear.
He should also be asked about the third divorce, in order to find out the ruling on it.
If your husband did not take you back after the final divorce and your iddah has ended, then this is an irrevocable divorce and you cannot go back to him except with a new marriage contract, on condition that the number of divorces that counted as such did not reach three.
And Allah knows best.
Reproduced from Islam QA