Hi Robert,
I have done some research myself and my understanding is that you can live in the house for as little as 1 day on the basis you have made it your PRINCIPAL PLACE OF RESIDENCE. This is were it can get tricky because what do you call your principal place of residence. According to FHOG it is where all your bills are addressed to, your furniture, your personal affects and where u have resided. So there is not set time frame to reside at the dwelling, however I would also make sure that you have meet this commitment as there is nothing worse then having the money taken back off you again.
The reason why FHOG is open to different explanations is that every situation is different eg, you buy a house with a tenant with a lease agreement that still has 9months to run, you cant just kick them out and move in to meet the grant requirements, so they grant stipulates that as long as within 12 months of purchase you make it your principal residence.
Hope this helps