It depends on various slots and timetabling of any requirements you might have, such as performance and Air Law exams to convert your foreign ATPL into a CAD one.
However, as a guideline, plan on around 2 weeks admin/exams, a month in ground school and another in the sim. After that, you'll fly around SE Asia for around 8 sectors with a safety pilot until released to do the rest of your line flying/training from home.
All in all, I'd say 3 months away from home. At least, that's what happened to me. Hope this helps.
BB
PS. The other thing is that if you're on a course lasting more than 30 days, they can send you home or have your family come and visit you (don't have the info in front of me right now - might not apply to inductees).