Yes, you can always apply in advance because the validity of your new visa begins just after your existing one expires.