Absent any order to the contrary, you have just as much right to live in the house as your ex. Have your prior attorney - or a new one - review all your papers to make sure this is accurate. You need to inform your ex that you are returning and if he has changed the locks, get a locksmith (and a police officer) to help you.
Although the above answers correctly state the law, given that you moved out due to a hostile environment, you could reasonably anticipate that your ex will not take your return to the home very well. Once you move back in, if your ex creates the same hostile environment, you may have grounds for either an order of exclusive possession or an order of protection. Keep good notes of his conduct in the event you need to provide details to the court.
I'd just like to add that the house itself is a problem, here. The bank may take the house in the foreclosure suit, but they'll also take a deficiency judgement. And don't forget the real estate taxes (unless the bank is paying them via escrow).
You say you are both responsible for the house until the bank takes it. That doesn't make sense. The only reason the bank would take it would be if you both are NOT being responsible for the house (i.e. making the payments). You're both taking advantage of the situation (she more than you), but you're not being responsible for the obligation.
So, what will happen when the house burns down, or the roof is damaged, when the bank obtains a judgment against each of you? You really should get the financial side of things taken care of.
Yes. Since you are one of the owners, along with ownership ia a right to possession, unless the property is leased to someone else or a court orders otherwise during the divorce case. However, moving back in may create an abusive environment and you move in at your own risk. I suspect there is be calls to the local poice for domestic violence. If he abuses you, you may obtain an order protection against him and have him removed from the house by court order. Good luck.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.