Can a baby survive out of the womb after 5 months pregnancy?

No they can not. At 22 weeks 9,1% live long enough to be discharged from hospital and often those babies, if they survive, have health problems all their life. Every day and week counts that early and even just 2 weeks earlier makes the difference between life and death.