Yes, of course. In voir dire, the process by which potential jurors are selected, you may be asked about your views on capital punishment. Just answer the questions honestly. If the prosecutor or defense attorney believes that you should not be on a particular jury, they’ll ask for you to be excused.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.