It's a little late, so this will get buried, but I had a similar experience. I caught two felonies (both from the same incident) Luckily, I had a good job at the time and it was my first offense, so I was able to get house arrest. After seeing what could have been my life, I completed my BS in CS, online part-time and convinced the state of California to let me move there. I received five years of probation, so even…
I don't think they work directly in prisons and jails, but https://www.underdogdevs.org/ is a group that works to train formerly incarcerated people in software and tech. They built mentee/mentor relationships between professional development and those wanting to learn.