This is bad advice. Most contracts in US explicitly prohibit this, so you could land in legal troubles if either company ever found out.
I've never had a contract that explicitly stated I couldn't work multiple jobs. (I work multiple full time jobs now)