Submission by a female to an abortion is permissible (1) within, up to and including 24 weeks from the commencement of her pregnancy or (2) after 24 weeks from the commencement of her pregnancy when she believes that such abortion is being performed by a duly licensed or employed surgeon or gynecologist, acting under a reasonable belief that such abortion is necessary to preserve her life or health.