There is no set time limit for how long a dead baby can remain in the womb. However, due to the fact that the baby's body is still growing and developing, it is likely that the baby will decompose and eventually be born alive if he or she remains in the womb for more than 24 hours.