I am sorry to hear of your situation. You should hire a local experienced divorce attorney to represent you. Divorce is a complicated legal proceeding. Leaving the house is not considered abandonment but might effect placement and custody decisions in the long run. Again, I think it is important you get legal advice as soon as possible about how best to prepare for divorce.
Disclaimer: Answering this question does not create an attorney client relationship. It is not legal advice.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.