Obviously religion has significance to many people around the world and shit and like "relgion" is a pretty shitty descriptor as collectively the items and collections of beliefs that it describes are fairly disparate and hard to compare and like within them it's impossible for any two people to have the same ideas of what the set of rules as defined by their adoptive institution means (with meaning being integration into the personal subjective collective rules of signifier interrelations of which each person has thier own incompatible collection as determined by their life experiences and cognitive abilities.) but like "religon" in the generalization I'm making I'm not attempting to make positive assertions with relation to necessary or likely content or relations to concepts only rules limiting attempts to the acquisition of truths that they might attempt to make specifically focusing on those regarding the will and the application of rule or laws on the behaviour of individuals.
Now firstly like the system has valid claims like internally the conceptualizations of an afterlife can be said to have any relation to actions and behaviors that the religion (and when I say religion I mean as in defined by the institution not like the personal subjective interpretations that are necessarily deviant as subjective from the whole) claims about. Like Kosher and Halal are cogent valid demands or claims for a religion to make. The afterlife is a concept defined by religions.
The model of the rules of the laws of interrelation between objects in reality is necessarily limited to mortal existence. The idea of the continuation of the activities of the collective neurochemical pathways and the like of the brain is an impossibility as the concept of the "brain" and the "body" and "atoms" and "chemistry" and "biology" and "physics" and "mathematics" and "empiricism" are the systems that define the concepts being refereed to and have authority over assertions about the relation asserted but like Islam and Juadism both assume the existence of a soul or something other than the ultimately indeterminable but approximately inferential actions of matter so their claims of the actions after the end of a life are valid because they are not talking about "life" as understood by western philosophical or scientific tradition by rather "life" as a concept that whilst it may easily be conflated and confused with the concept of the presence of self as give by the actions of thoughts and the like it is actually referring to something that shares no causal relations with the actions of the brain whatsoever.
The concept of the "afterlife" being valid, and any relation to this afterlife is also valid, the adoption of the concept of a soul is not a rational, logical, philosophically grounded decision, so anything relating to the soul (provided it doesn't overstep it's authoritative areas) is valid to assume as "true"
However as religions have only the authority over the concepts they define internally and only insofar as these internal concepts aren't conflated or confused with the concepts that share the same words outside of the religon, they can't create prescriptive judgements that apply to anything other than inconsequential personal choices.
Systems of morality have authority on moral judgements, like you take the categorical imperative or the hedonistic calculus and it's all cool but like you can't apply "christian" ethics to a situation that effects people. "People" being the mechanical entities we understand via our primary model of reality, that being materialist and hence the "christian" definition of "person-hood" being as the possession of a "soul" not applying, as the "soul" is a concept that can only be integrated into the mind of someone who adopts the institution and it has no meaning to anyone but those within the institution.
Abortion, murder, rape, adultery, jaywalking, indecent exposure, crop rotation etc have different meanings at the root of the epistemological reality of the person judging. The epistemological reality that has validity is the one in which the concepts defined have greatest probably of reflection to the state of affairs of the objects to which the concepts refer.
i.e. the concept of abortion is the act of preventing a cluster of cells exiting the womb in a form that would grant it legal protection from termination of the activities that would allow it to become an adult entity.
That the "baby" is a baby is determined by interpretation of the form of the cell clusters matching the baby concept held within our minds. The presence of a soul is not inferentiable as the soul is defined by terms other than those that describe reality. Hence moral determinations about the act of abortion are invalid if the presence of a soul is what they define their judgment in relation to.
Deciding what the "right" thing is, when you are considering relations between "real" objects like people and stuff, requires that you ground yourself in the systems that define what those concepts are, and if you choose systems that define them in terms of ethereal, immaterial, metaphysical ideas like the soul then you must limit your judgements only in relation to the inconsequential hypothetical fictions you have chosen to adopt. Otherwise it's just you making semantic conflations and looking like an idiot.