There is no definitely safe time. Some babies can be born at 30 weeks and have no permanent issues. Others can be born at 36 weeks and have problems. It all depends on how the baby is developing. By her due date, she is about 36 weeks so the baby will most likely be fine anytime - most babies are pretty close to fully developed at that point.