Inland application: http://www.cic.gc.ca/english/information/applications/spouse.asp
Mail your completed application to the Case Processing Centre in Mississauga, Ontario.
Question 4
Immigration Office requested for the processing of your application
Indicate the name of the Immigration Office which serves:
•your country of nationality, or
•the country in which you are residing, provided that you have been lawfully admitted to that country for at least one (1) year.
Outland application: http://www.cic.gc.ca/english/information/applications/fc.asp
Mail your completed application to the Case Processing Centre in Mississauga, Ontario.
Question 4
Immigration Office requested for the processing of your application
Indicate the name of the Immigration Office which serves:
•your country of nationality, or
•the country in which you are residing, provided that you have been lawfully admitted to that country for at least one (1) year.
Processing times: http://www.cic.gc.ca/english/information/times/perm-fc.asp
Comments:
1. If your work permit was issued for at least 1 year in duration, then you can select a visa office which serves the country in which you are residing. This would be CPP-Ottawa. Others can correct me, if I'm wrong.
2. You can remain in Canada till the end of your permit.