Working remotely for a month from home country when on Work Visa?

If a foreigner is working in Canada on a work visa, is s/he allowed to work remotely from outside Canada occasionally for a few months? If yes, for how long at a time?
Asking since my father lives in India and is old, he needs my help every few months per year.