According to the Pew Research Center poll of prison chaplains in the USA, most of the inmates have a religious affiliation and are actively religious.

There are few atheists in prison, it would appear, which would tend to indicate that atheists are more likely to be moral, upstanding citizens than theists of any ilk.