If you're within Canada, you will have options to extend your stay (like BOWP, Visit visa, etc) from within Canada itself. Once you leave the country, it gets much harder. If you graduate in Canada, you automatically get eligible for a PGWP, work for 1 year in Canada and then apply under CEC...