Have a look at this part
Examples of residents and non-residents
Basically try to be Bronwyn. Obviously easier if you're single, but if you:
1. Stay away for an extended period
2. Establish a home overseas with your family.
3. Don't have accommodation available in Australia.
Then you should qualify as a non resident.
However if you:
1. Spend significant time in Australia.
2. Maintain a home there.
3. Have a wife/children living and working or attending school in Australia.
Then you will probably get caught in the tax net.
Cathay pilots who took Australian bases with their families, while claiming residence in Hong Kong know all about this.