If anyone is executed by the government, he enters a state of samadhi. It is temporary. For instance, when a person is being hanged, there is a clash during the execution between the functioning of inhalation and exhalation; becoming lifeless, the person enters a samadhi state. This type of samadhi has nothing to do with anything spiritual, for as soon as this state is over and according to the sanskaras of his past life, the soul takes rebirth. If he has murdered anyone, he must pay for those sanskaras of murder. If the person is innocent, yet is executed, he is then freed from the sanskaras of murder.
Suicide Is quite different in the case of people who commit suicide by hanging. When a suicide’s samadhi finishes, he remains hanging – waiting between the astral and gross worlds. That person becomes a ghost and does not acquire another physical body for ages to come. (Lord Meher, 1st. ed., Bhau Kalchuri, Vol. 4, p.1353