If you and your husband are on reasonable terms, you might want to speak to a mediator as well as an attorney. The legal system is of course set up as a me vs. you system, where in mediation, the goal is a solution that works for all parties. In this case, that should include the children. As a child of divorce, I will ask that you do your best to have frequent visitation (we had every weekend), that you live 1/2 hour or less from your ex for ease of visitation, child care help, etc., that he be included in all holidays, including his birthday (we celebrated dad's birthday at my grandparents house, which was nice), try not to make your kids feel like they're being dumped on the other parent so the parent can have "freedom". It's a balancing act, but will pay off if you can do it. I've heard of people that had the kids stay in the home, and the parents rotated. If there's enough room, maybe that would work. Your ex could stay at the house on the weekends and you could have a weekend away, at a friends, hotel, etc. Much cheaper than your own place.
I wish you luck and I'm sorry things are tough. I hope it works out for the best for everyone.