Sounds to me like whoever answered had misunderstood the question. So, you can't come to Canada under a tourist visa and apply to sponsor your spouse/partner, obviously. I think that's what the person that answered was thinking. But of course you can be a Canadian citizen living in another country on a tourist visa and apply to sponsor your spouse/partner. How else would you be living together?

Can you post the link where you saw the question?