No, the sequence is like this
Compound then polish and then wax
If your car's paint does not have imperfections, just wax it.
The life of wax depends on many things like the weather, car is parked in garage or outside, quality of wax, car wash frequency etc.