I have worked in Special Education as a teacher's aide since I became pregnant with my son. I was fortunate to be able to stay home with him until he was a year old, and then my husband lost his job and I had to go back to work. I filed for divorce 5 years ago, and have been happy ever since.
First, I would suggest at least getting a free consultation with a lawyer. That way you know what your options are. My lawyer asked for a small retainer, and was willing to wait until my case was over for the rest of his fees. You can also start getting child support to help you care for your daughter. This will give you peace of mind as well as help you make a decision about returning to work.
As far as teaching goes, if you love it as much as I do, you'll find that it's not that hard to focus on the students. I was able to find a really great daycare, and the fact that I am only working from 8 to 3 means I have a lot more time to spend with my child than most other working moms. I think being a mom makes you an even better teacher, because you have more empathy for what other parents are dealing with. You can start out as a substitute teacher to get your foot in the door and transition back into working. Or even look for part time teaching positions such as preschools or learning centers.
I would get as much info as you can so that you can go forward with a clear plan in place.