If you want some guidance about whether or not you are resident for taxation purposes, here is a good place to start:

http://law.ato.gov.au/pdf/it2650.pdf