@canuck78 is correct about the law requiring a PR "reside" in Canada to be eligible to sponsor a family member's PR visa application.
The primary law that requires a PR "reside" in Canada to be eligible to sponsor a family member is Section 130(1)(b) IRPR (Immigration and Refugee Protection Regulations). See
https://laws-lois.justice.gc.ca/eng/regulations/SOR-2002-227/page-18.html#docCont
The law is not thin air.
Many play games with designating where they "
reside." Quite a few get away with it. Many others do not.
Frequent border crossings will generally reveal a pattern, a pattern which will likely disclose which side of the border an individual is actually residing. This ain't the 20th Century.
Otherwise, about those out-of-thin-air insinuations: Those who play games tend to be those who run afoul of elevated scrutiny, strict application of the rules, and are, for example, more likely to encounter difficult screening during border crossings . . . and then typically blame the officials. Yeah, there's a participant here who fits that bill to the T and not only blames the border officials but tends to misleadingly paint the PoE scene as much like that for others . . . and yeah, despite the occasionally correct observation, like a broken clock twice a day, this is a source here generally best ignored.
We also see periodic theories about ways to dance on both sides of the fence. Even when the theory fits inside the rules, this too is largely about playing games, engaging in a scheme. Which has risks even if, again, one stays technically within the rules. Moreover, most of these tend to be far, far more difficult to execute practically than their proponents acknowledge. There are few success stories, and those are generally suspect at best.
The exception is the do one, get it done, then the other. Many appear to succeed doing this. Indeed, establishing status in Canada to eventually get into the U.S. seems to be a fairly common and successfully followed through plan. Not one I recommend, since I cannot recommend living in the U.S. (churns my stomach just to think of it). But there is no shortage of those on that path streaming through this site.
But the bicycle into Canada for a bit enough days to meet the PR Residency Obligation plan, sure that clocks the RO credits (which almost all veteran participants in this part of the forum know well), but the odds of following through given the real world practical hurdles that will involve are, well, sort of betting on the long shot who is sure to scratch before the starter's pistol is even loaded. In other words: pure distraction.