I believe that we just borrow our lives from God. And He is the only one who have right to take them away from us.
Yes God has the only right to take our life back But if someone have done sins that are unforgivable like killling people. I would agree with death penalty.