The Verdict: Need More Info
You have not yet completed the term for your category, so this is a wait. Keep your registration or service unbroken, note the date your term ends, and book the B1 Italian exam meanwhile.
The shorter terms are two years with a parent or grandparent who was an Italian citizen by birth, three if you were born in Italy, four for an EU citizen, and five for refugees, stateless people, adults adopted by an Italian and State employees.
For a residence term, what counts is unbroken registration with your comune (iscrizione anagrafica). A break restarts the count rather than pausing it, so get a residence history (certificato storico di residenza) from your comune to check your dates.
Everyone also needs a B1 Italian certificate from a recognised provider, adequate income over the three years before applying, and a clean record. The law sets no income figure; it is assessed in practice, so ask before you file. The language certificate does not expire, so get it first; criminal record certificates do, so leave them until last.