In effect yes. But you look back from the date of application and the 1year is cumulative. There is a rule about not being out for 90 days or more in the last year though.
There is a calculator where you input the dates and the application won’t let you progress if you don’t qualify anyway!