So he should live somewhere else or do something to make enough money to live where he wants without placing others in danger.
Not always an easy thing to do. Yeah, Harry is a professional wizard, even there he admits to huge gaps in his education, a lot because he was lazy as a kid But anyway, his muggle education consists of a GED, he isn't trained for any trades, is a bit old for an apprentice, so getting enough money together to get a place that fits his needs, not easy.
is apartment is attacked in SF, between GP and SK, BR, and then again in DB. He learns in BR that the White Court has a tactical assessment of his home's defenses and the White King recognizes him on sight. He really should have done something about his living situation sooner than after his house burned down in Changes.
As I said, the other people had to have been aware, no one tried to force him out. Who knows they might even have told him they didn't mind. We really don't know how rough a neighborhood he lived in, it might be bad enough that even living with a wizard in the building isn't seen as all that dangerous.