If the woman has cardiac arrest and cannot be resuscitated, a perimortem cesarean delivery can be done if the fetus is > 20 weeks' gestation (corresponding to a uterine fundal height above the umbilicus).