No, you only have to complete your 24 months, not in a row. However, please note that you shouldn’t procrastinate either, as you must have completed 24 months and submitted your permanent residency application no more than 36 months after you received your work permit.