But religion played and still plays a large role in forming these discussions because of its supposedly unique position as a "moral compass" for many cultures over the course of history.
Imho this is especially evident if you take a look cloning and stem-cell research in general. While most of the West is still busy trying to figure out how to make it compatible with Christian ideals of life, China, in their usual pragmatism, just goes ahead and does it because they don't have a comparable lobby stopping them from doing it.
In that regard, it is pretty much religion that put a stop sign there and even tho this debate is anything but new, I'm not really sure we've actually progressed at all with said debate, it rather feels like decades of stalemate.
A mother 'evicting' a fetus at 24 weeks without the abortion would result in a very tiny, but likely healthy baby (at least in the US, where premature baby care is generally outstanding). Source - held one in my hands this fall when our friends adopted him.
There is an argument that conception is the cutoff. But on the other hand, the relationship of mother and fetus is rather unique. So arguably she can evict a fetus, whenever she wishes. After all, there is otherwise no obligation for one person to save the life of another.
So anyway, it's not just about religion.