To a degree, but ultimately, rents are high because people will pay it, nothing more.  If rental units are vacant, the landlords will reduce prices until they can fill the units.  Illegals are a pretty small percentage of our total population, so if they are making a difference it would be minimal, and it would be in neighborhoods many don't want to live in.