Tbh it's only fair of them really, when you decided to take on the responsibility of having a baby, it's your responsibility to put a roof over that child's head
Go to your local council they will be able to put you in emergency accommodation it will be a B and B. And you will be on a waiting list for a Mother and Baby unit.
Do you have a key worker or social worker.. I know that you can talk to them in confidence if it was me i would tell them my situation . I'm sure that can help hun ..