For military service the term conscientious objector comes to mind which Wikipedia defines as “ [refusal] on the grounds of freedom of thought, conscience, or religion” which seems appropriate to me.
"Refusal on the ground of freedom of thought" is enough to convey exactly the same without loss of meaning. No need to mention religion, no need for religion-specific exemptions.