You need to live together continuously (without breaks) for one full year to be considered common law. Yes, this can be as a tourist or on a work permit or a combination of the two. But the key is that it must be continuous so the three weeks last year won't count for anything.
Getting a closed...