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.
A weekly guide with tips and legal advice for each stage of the process.