Often the rule is that one gets the vote in local elections after living for some time, but only citizens can vote in national elections (Parlament, President). This makes sense. If you want to fully participate in a society, you should integrate and become a citizen.