I don't know what the law is in Canada, but the appropriate length of time depends on the position. For fairly junior positions, or if there is an obvious successor or extra capacity in place to cover for your departure, the usual custom is two weeks. But for senior or strategic positions, you'd be an ass to leave with less than three or four weeks' notice...at least in my opinion.