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, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
There is no doubt that reconciliation is better for the two spouses than remaining as such. Allaah The Almighty Says (what means): {And reconciliation is best.} [Quran 4:128] So, do your best to reconcile with her and settle the problem. You should clarify for her that she is committing a grave sin when she asks for divorce without a reason and forsakes the husband's bed without a Sharee‘ah-approved justification. However, if the attempts of reconciliation fail and she no longer asks you again to divorce her, it is permissible for you to keep her for the sake of the children's interest.
Allaah Knows best.