Separated and Pregnant

My husband and I separated about a month and a half ago, everyone thinks it's some type of quarter life crisis because he's been so back and forth with being angry and depressed, we have a daughter already, he was stressed out about what career he wanted, etc. I can understand him being so confused I'm 21 and he's 22. He's done a lot of shitty things since he left including making me and the baby lose our apartment and have to move back in with family.. he's been so back and forth with wanting to just be drunk and not think about anything and wanting to get a job again and be a good dad and stuff. Our second baby is going to be here any day now and I keep having second thoughts about if I should have him in the room when I give birth or not.. I feel like he's the dad and he should be a part of everything again but the way he's been so back and forth just keeps making me feel like what if he's in one of his angry/depressed times and it makes the whole experience harder than it's going to be already.. some people I know are just like "F him he shouldn't be there" but some say I shouldn't make him miss it if he actually wants to be a part of it or that it might help him snap out of this thing he's going through, he's said before that if he misses it oh well but now he's saying he's not going to miss it and that it's important to him. I don't know if we will ever work out again but that's not even what's important to me about all of this. We've been together for almost 5 years so yes I still care about him and what he's going through, I want him to feel better and I want him to realize being there for things for our children is important.. the whole situation is just so confusing and I have no idea what I should do..