Thank you all for your prompt reply,
So, it seems that presence in Canada has to be physical presence to count the time towards citizenship.
Is this also the case to comply with the PR requirements? (2/5 years)
In other words, if I get employed by this canadian company and get some contract...