It can be difficult for anyone who’s been incarcerated to readjust to life after getting out. A bill working its way through the Legislature would allow some young people in juvenile rehabilitation to serve part of their sentences in the community with the aim of facilitating a better transition.