Depends on the crime.
Something like fraud, robbery, assault yes I am all for rehabilitation.
Paedophilia? No. I don't think you can have therapy that talks you out of a certain sexual preference. Maybe not to act on it.
My neighbour is a convicted paedophile (he abducted an 11 year old and raped her). This is an old conviction (about 15 years ago).
Recently I saw a girl about the same age walking with him and felt I had to call the police as it's just clear that his interest in young girls is enduring. He disappeared for quite a few weeks (we live in a HA block so I'd usually bump into him regularly so I assume he was detained).
Sorry, rambling reply but I don't believe paedophiles can usually be rehabilitated. I worry for all the young girls in the Olympic Village with him.