You don’t have to live in Canada, you could go anywhere assuming it is possible.
yes definitely, it is not very uncommon for people to work from India for several months. but then you put yourself in to time zone issues and it is not a sustainable option in long run like Canada. also you cannot take occasional trips to your employer's place if there's a need to do that once a while.