It looks better on their balance sheets to evict the residents, and then put off foreclosure.
As a result of this problem, a Cleveland nonprofit has taken the banks to court as a public nuisance, and they have won the first round of litigation, which puts the decision in the hands of the local housing court, as opposed to federal court.