Generally yes, but take a look at your employment agreement and see if there's any notice requirement (e.g. 30 days). If so and you do not meet the notice requirement, the unused holiday leave may be applied toward that.
Contact the Fair Work Ombudsman if you run into any disputes with your employer.