He did what addicts do so well. He scared you into feeling that YOU can some how directly cause him to relapse when he comes home. This is simply untrue. His actions are his own to own.
Take what he says, while institutionalized with a grain of salt and repeatedly read the thread on what addicts say from jail.
Taking a day to visit him in prison is taking a day away from working on yourself.
Stay strong.