short cervix 24 weeks dilated

Eliza
So I've been in the hospital for 2 weeks due to my cervix getting shorter and shorter 
Just had a ultrasound done today to measure my baby and she is measuring great at 24 weeks and 1 day and the doctor tells me I can't go home and that I'm dilated already, I didn't ask how much but she said I can deliever at any time today tmmrw next week but I won't make it to 37 weeks for sure 
I really really want to make it to at least 27-28 weeks which is so far away
My question is does dilating mean I'll deliver soon ??? 
Prayers please 😔