On a case to case basis, yes, but generalised, no!
For me, it will depends on the situation that a certain country facing. If a country face several problems like crimes and using of drugs I will agree in death penalty. Death penalty is a law that should be only given to those who commits massive crime and to those people who are innocent.