A man from Boston who escaped from a residential reentry center and then robbed a bank was sentenced to prison.