I do not think it is prudent to make abortion illegal. At least it should not be illegal within a certain number of months of conception by which time the woman would have enough time to consider.
Woman who, for whatever reasons, cannot afford to have that child born should not be forced to have a child. Let her own moral compass dictate whether she should give birth. If it is illegal, desperation will just drive these women to illegal abortionist.
For the religious, if your god so willed it, let god revive the fetus once it has been taken out of the woman. This way, both the woman’s right and god’s plan are safeguarded.