Capital punishment has been abolished entirely in 20 states. ... But even those states are performing fewer executions today than they have in the past. People can also be given the death penalty for federal crimes, but that is more rare.