That's the general idea but USCIS also will want to see a board of directors that neither you nor your co-founder can control so if the two of you are on the board, there needs to be a third board member at a minimum.
[Disclaimer: I am not a lawyer. I am especially not your lawyer, or anyone else's. This is not legal advise. I recommend anyone in this situation retain an attorney and ask them for legal advise on this subject.]
Get an angel check. One share in a billion leaves neither cofounder with a controlling interest.
For what it's worth, I recommend giving more like 2% for a sole angel, assuming their contribution runs little further than satisfying this control problem. But technically speaking, whatever somebody agrees to should solve the control problem.
So would something like this work?
Owner 1 (<50% ownership, say 49%) on H1b
Owner 2 (<50% ownership, say 49%) on H1b
Investor 1,2 (>0% ownership, say 2%)
(I understand that things vary from case to case but trying to get general idea here)