There was recently a post of someone who applied Inland, one of the rule for that application is that the applicant stays in Canada, the applicant was essentially approved until IRCC realized the applicant had left Canada. That application was refused, and a new application will now need to be submitted. I realize it is a different situation, but it was just an honest mistake and the couple had no clue that they were not supposed to, after all, if outland, they would have been fine and they now can submit their application again, so IRCC could have shown a blind eye, but no, they didn't (another applicant may have been lucky and not be found out) and now the consequences are severe.
In this situation, if they find out by a similar agent as above, either your application will be refused or you will be given a chance to explain your travel, but don't think that just using your work to justify it will be easy. Why did your work require you to work remotely from your country in particular, if it is the first time, why suddenly this was a new requirement (questionable timing), do you have communication prior to your travel as to your company requiring this travel, are you part of the ownership of the company (much higher level of scrutiny).
As a lot of things, it will all depend on the agent processing your case, and as mentioned many time, it is the individual's (or I would suggest the couple, good luck explaining to your spouse that you are back to square one because either you didn't read the requirements or ignored them if you are unlucky) decision.
Just to add to my post, it is not that I rejoice at the thought of couples being apart, especially in those difficult times, I feel for you. Some rules are quite imperfect, but I also know the danger of thinking that the rule won't be applied or that we will be able to get away with it. For a few months of short term happiness, it can lead to years of difficulties.