You don't have to let us know when you're planning to travel. However, in order to pass 2FA Authentication you should keep your phone on you, keep it charged and keep using your home number when traveling.
If you use a local SIM overseas, though, you have to keep swapping back to your home SIM every time you need to receive an authentication code.