Paid vacation usually does count as part of continuous work experience, as long as your friend was still officially employed (on payroll, not terminated) during those 2 months. IRCC generally looks at whether the employment was ongoing, not the physical location.
So if it was approved, paid...