I am in a similar situation.
Planning to work on H1B in US for 3 days (Wed, Thu, Fri) and 2 days from Canada (Mon, Tue). Staying overnight in US on Wed, Thu.
I will maintain Canada tax residency (spouse works here).
Will I be able to be a US non resident due to substantial presence or closer...