Simple answer: No. You must both own and live in the house for a full two years.
There are exceptions, most notably if you had to move for employment or health reasons. But, there are also "other unforeseeable circumstances".
References:
https://www.journalofaccountancy.com/issues/2009/nov/20091783.html
Exceptions do not apply to a property not used as a principal residence.
how long has it been empty? why did you move? the answers to these questions will help us provide advice on whether or not you qualify for a partial exemption