Yes—though it depends on which staff you're using.
You can actually cast most spells without a staff at all. A staff's real benefit is that it boosts your magic stats, and certain staves help conserve runes. For instance, keeping an Air staff equipped saves air runes during combat, while a Fire staff is handy for saving fire runes when using High Alchemy.