Can I claim the tax-free threshold when on a visa?

The ATO has a fantastic article on tax residency; they also have a residency test to further assist in determining which options represent you best.

Several factors might determine whether you can claim the tax-free threshold; so it is better to take the residency test to understand your specific scenario.