A non-EU citizen can obtain a residence permit after living in Italy for 5 years. On the other hand, EU citizens can apply for a residence permit if they want to live in Italy for more than 90 days.