Suboptimal if you're working for a direct competitor. Standard conflict of interest stuff. Would you accept Donald Trump working for Russia on the night shift?
Remember, non-compete is not the same as IP clause - which says anything you create on the job (and potentially off the job) is owned by the company.