How long will Shaanxi Xi's residence permit expire?

It doesn't matter if you accumulate for three years.

Because non-local candidates need a residence permit for three consecutive years to take the college entrance examination, they cannot take the college entrance examination after three years of residence permit.

Residence permit is an attempt made by some developed cities in China to learn from the "green card" system of developed countries, which has accumulated experience for China to formulate skilled migration measures and eventually form the national "green card" system of China.