first, take a deep breath. second, regardless of what happens, please believe, its all for a purpose. either a learning lesson, or an opening for something new. either way, it will all be fine. you will be fine and so will your daughter.
i briefly looked at some responses that you received and i saw one person suggest counseling. when you said he got out, does that mean the service? either way, i think counseling is a great start. he does sound confussed, and considering your ages, that might be possible.
if i were you, go agianst your intial response, and step back. if you get into his face, he might pull away. just focus on your daily duties. then once both of you have had a minute, ask for information. does he still love you, what is going on in his head? honestly. then work from there.
sometimes you want what you have, but then you look around at your friends etc, and you want that to.
in the meantime, look at your expenses that you would take with you if you seperated. if this proceeds, you will need to get a job, but a job will also be good for your self esteem. day care options will present themselves once your start asking around.
realize you cant change how ppl feel, and you cant control them. but you can control how ppl treat you. dont let him go back and forth, it isnt fair to you or your daughter. if you let him go back and forth, you have unknowingly said, it's ok to treat me like that. and its not!
ppl do go thru things like this. sometimes not realizing why until much later. but even though his timing is very poor, if he doesnt want to be there, you cant and dont want to make him. would you be happy if he was only there out of guilt? probably not.
be what your daughter needs you to be, strong! you can do this. if your current dreams and goals seem to be fading, create new ones.
be compassionate to what he might be going thru right now, but dont be a doormat.
and whatever you do, make this between the two of you, dont put your daughter in the middle. that gets ugly. she needs both of you, and even if he did something to you, she still needs her daddy. so many ppl forget that and keep a parent away, and unless she is in danger, thats not fair.
i am not trying to tell you how to handle your life, but i have just seen it so many times, and the kid is in the middle feeling alot of negative emotions and it has nothing to do with them.
i hope i didnt come on to strong, if so, i am sorry.