It's a silly question, so I'll give a silly answer.
Suppose we have a man who, from the ages of 30 to 60, is likely to kill a person each year with probability 1/$age. Now suppose he's on trial for murder (a crime he is guilty of) and there's a 99% chance he spends life in prison and a 1% chance he spends no time in prison due to a mistrial. The overall probability he will kill again is ~ 0.7%
Suppose instead that we put him in jail for 10 years with 100% probability (ie, a deal that a logical actor would take facing life in prison with 99% probability) and each year he spends in jail his desire to kill decreases by a factor of 2. Now his overall probability of killing again is ~ 0.04%.
So the killer's situation has improved and society's situation has improved.
</silly answer>