so it means i have to live in ontario or study in ontario?
Yes. It's apparently the only province that has a school act or legislation that clearly states it. You can check the ministry of advanced education for Ontario. But still, after 9 months there is a good chance of getting full PR if you have a strong case.