There’s no exercise you have to do, but if you wish to compete in a sport that requires the movement pattern of a specific lift, you’ll have to do what the sport or that style of training demands. But no, you don’t have to do the overhead squat to improve your physique or performance, but it’s certainly an option.