Yes - per your scenario.
Rule of thumb is that if you are outside your country of residence for couple of weeks (usually business trips), then it's ok to not inform IRCC, however, for situations where you might need to stay outside your country of residence for a longer duration - you have to...