So long as they are either citizens or permanent residents
I suppose you could also make a reasonable argument for eu citizens who lived in the UK pre brexit. But just having to currently reside in a country during the time of an election shouldn't give people the right to vote.