This is more or less a false dichotomy.
Capital punishment is by definition irreversible, so mistakes aren't tolerable.
Being arrested is legally and reasonably far more correctable with few lasting consequences: we can absorb these mistakes in the rare events they occur.
Capital punishment just takes all of them instead of few-to-tens of percent of a life (often the most valuable years).
You do realize that due process exists after an arrest?