Which air force? I've heard of people being in CFB Trenton for 20 years, but, while RCAF posting tend to be longer than Army, and RCN ones, that is pretty unusual. Most run around 5 years or so.
Other countries may be different. You need to be moved for professional reasons, and, to fill vacancies at various ranks, and positions.