All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
It is not permissible for a wife to go out to work except with the permission of her husband as Allaah put the right of the husband on his wife not to go out of his home except with his permission and if she goes out without his permission and consent, then she is rebellious and disobedient as stated by the jurists .
Even if we presume that a wife conditioned on her husband (when conducting the marriage contract) to work, it is not permissible for her to go out for other purposes than work except with his permission. Therefore, your wife is considered rebellious and disobedient by going out to this refuge home if this was without your consent while she has no sound reason for doing so, like fearing for her own safety.
In any case, we advise you to appoint some righteous people from your family and her in order to arbitrate between you as Allaah may enable you to reconcile with each other thanks to them. Allaah Says (what means): {And if you fear dissension between the two, send an arbitrator from his people and an arbitrator from her people. If they both desire reconciliation, Allaah Will Cause it between them.}[Quran 4:35] If she regains consciousness and comes back to her home, then this is what is required, otherwise you may divorce her if you think that this is better.
Moreover, the mere fact that the husband and wife live separate from each other is not considered a divorce even if this was for a long time as clarified in Fataawa 89825 and 82732. What some people informed you about that when the spouses stay separated from each other for more than four months divorce takes place, then it seems that they mean Ilaa’, i.e. a husband swearing not to have sexual intercourse with his wife for more than four months, then when the four months expire divorce takes place immediately according to the Hanafi School. However, the preponderant opinion is that of the majority of the scholars who said that after the expiry of this period, the husband is ordered (by the judge) either to take back his wife or to divorce her if she wants divorce.
As regards the words that you uttered, they are a promise of divorce and divorce does not take place by them unless you intended it. For more benefit, please refer to Fataawa 90318 and 89056. In case you decided to divorce her, she would be obliged to spend her waiting period at her marital home. Besides, the jurists stated that if the bond of marriage still exists, the fostering of the children is the right of both parents, so your wife has no right to be the only one to foster her daughter. However, after the separation [divorce], the fostering will be her right or the right of her mother [the grandmother of the daughter] or the ones who are entitled for the fostering after her mother if there is any impediment that prevents her from the right of fostering. For more benefit, please refer to Fatwa 84618.
Allaah Knows best.