There is no such thing as temporary Residence. Your Residence visa WOULD HAVE lasted for ever WHILE you were in NZ. With it, you had two years' travel conditions, which have now long since expired. And as you were out of the country when that happened, and did not at the time do anything about getting an extension of travel conditions which would have allowed you to go back into NZ, your Residence visa has expired also.
Please look at this old thread, two pages of it, which you started in June, 2015.
https://www.enz.org/forum/showthread.php?t=47216 This may remind you of your situation.
If you did not go back to NZ before your travel conditions lapsed in May 2016, then you will not be able to apply for a Second or Subsequent Resident visa
https://www.immigration.govt.nz/new-...-resident-visa.