It's a rating factor. There's a discount if you have prior coverage with no lapse. The time period varies from company to company, between six months to several years, with one year being the most common.
If you say yes, they're going to ask for proof - either a renewal notice, or a letter from the company. If you say no, they're going to surcharge you - or maybe even decline to write you at all.