Can a fetus live outside the womb at seventeen weeks?

I think 24 weeks is when a foetus is viable to live outside the womb