That is OK but OP should not be complaining about people not being engaged with local politics if you are excluding a large part of the people living in the city from voting.
I'd wager that's a small proportion of almost every city. Most cities will have tourists who are visiting for a few days or weeks, and long term residents who have a permanent address there. The percentage of people living full time in hotels or airbnbs must be tiny. Perhaps in high cost of living cities there's more "hidden homeless" living on couches, but even then it's not going to be "a large part" of a city.