I just reread your op.
By mother and baby ward do you mean a mental health ward for acute patients?
If I understand it would be very hard to get well enough to get out on your own.
Can I suggest that you make a appointment with a centre link social worker about being put on the disability pension and getting some support workers (the have list of places that will help ) to find someone to help you and your family (if that is what you want) move into a unit of some kind. Maybe your hubby could apply for carers. This would give you both enough to live on your own. You could still study if you choose to and you could get extra support from your uni.