I have a little experience of this. A past tenant of mine was an ex soldier, who had separated from his wife and ended up in one of my flats. He was obviously depressed, unwell and had no meaningful work. One day I got a call to say he had been found dead. He was only around 40. The Royal British Legion were said to have been supporting him. They arranged the funeral and were there with flags and uniforms but how much they did before that is unknown to me. People often go into the forces with the expectation they will learn a trade that will equip them for life after service but it seems not to be working.
Contrast that with another tenant of mine, about the same age, who killed someone whilst drugged out of his mind and served 15 years before being released on licence. He was trained in prison and completely rehabilitated. He was also supported and supervised by the Probation Service on release, living in a halfway house before being allowed to live independently.
He found a job and became a trusted, hard working employee who was also very popular with the neighbours because he was so helpful. Unfortunately though he also died, just a couple of weeks ago, apparently from a heart attack.
It does though seem as though we extend more thought on how we treat criminals after they are released into the community than we do our ex military.