What you want to avoid is the common workaround of staying six months at a time and then re-entering the States for a day. While lots of people do it, and it is a legal way to remain in Canada, it means that you are always a visitor, never a resident. And, in particular, it means no health care coverage.
It would be legal to see a doctor for prescriptions at your own expense or funded by insurance.