To get a Student Loan, you'll need to:
be a New Zealand citizen; if you're not a New Zealand citizen, you’ll need to be:
entitled under the Immigration Act 2009 to reside indefinitely in New Zealand and have done so for at least 2 years (i.e. have held a residence class visa for at least 2 years) and be
ordinarily resident in New Zealand or
a refugee or protected person and be entitled under the Immigration Act 2009 to reside indefinitely in New Zealand (i.e. hold a residence class visa)