How long have you been registered as legally resident in Italy?
Italy — Naturalization
What counts is iscrizione anagrafica — your registration with the comune where you live — held continuously. Time in Italy without it does not count towards any of the terms, and a break restarts the count rather than pausing it.