Probably for the same reason your employer does. Not saying it's fair to discriminate against people who have paid their debt to society but I wouldn't be crazy about having a rapist or murderer neighbor.
The idea behind that is that recidivism is best prevented by letting people be normal parts of society (=being able to work and live in peace) once they have served their term.