どちらも違います。カナダにいる日本人がバッファローに申請するには、①1年以上のビザを保有、②カナダに居住、の2つが要件です。これについては、移民法施行規則11条に次のように定められています。
the country where the applicant is residing, if the applicant has been lawfully admitted to that country for at least one year
http://www.canlii.org/ca/regu/sor2-227/sec11%2Ehtml
"has been lawfully admitted" は、少しわかりにくい表現ですが、過去の居住期間ではなく、現在のadmissionの期間が問題になります。ビザの残りは関係ありません。
また日本に帰国してもOK と言われたそうですが、その保証はありません。受理したビザオフィスで最後まで処理されるのが原則ですが、オフィサーの判断で転送されることもあります。これについては、CICのマニュアルに次のように記載されています。
Change of status during processing of application
For applicants whose legal status in the country where they made their application changes or expires before completion of the processing of their application, processing of the application will be completed in the office where it was submitted.
However, if an office concludes that it cannot continue to process the application without jeopardizing the integrity of the program, that office must notify the applicant concerned that the application cannot be processed by it and will be transferred to the office that handles the new country of residence or nationality.
(
http://www.cic.gc.ca/manuals-guides/english/op/op01e.pd, p.10)