I found this on the CIC website:
if you visited, worked or lived in a country for two months, left for a few years, then returned for four months, that counts as spending six months there. In this case, you would need a certificate.
For the country you currently live in, the police...