I would say yes as it appears to meet the requirements of s118-145 ITAA. You have lived in the property previous as your main residence. You are absent and it is less than 6 years. And you are not claiming another property as your main residence at the same time.
The good thing is you can...