Apparently, in English, convicted means that someone has been officially declared guilty of some crime. After being convicted comes being sentenced, which is when the punishment is set.
On the other hand, condemned is specifically about being sentenced to death -or sometimes life in prison or some similarly hard punishment-. Which is also why a building is said to be condemned when it is set to be demolished.