A Question for Ethicists

From Wikipedia: Ethics is the branch of knowledge that deals with moral principles and seeks to resolve questions of human morality by defining concepts such as good and evil, right and wrong, virtue and vice, justice and crime. An ethicist is one whose judgment on ethics and ethical codes has come to be trusted by a specific community, and (importantly) is expressed in some way that makes it possible for others to mimic or approximate that judgment.

Here’s my question for an ethicist: If one opposes abortion based on “sanctity of life” and/or “advocacy on behalf of the innocent” moral principles, can one ethically support capital punishment when either (or perhaps both) principles can be applied to those convicted of crime? 

The Governor of Alabama released a statement on May 15th, 2019, after signing into law the Alabama Human Life Protection Act, which said: “To the bill’s many supporters, this legislation stands as a powerful testament to Alabamians’ deeply held belief that every life is precious and that every life is a sacred gift from God.” On May 16th, the day after the Act was signed, Alabama executed a convicted murderer.

It seems apparent that legislative actions being taken across the country are going to require us in the near future to re-consider our moral principles concerning life and death; perhaps re-visiting our moral contradictions would be of benefit as well.