They may both submit it. IT may depend if they are both full time positiosn. The same employer may not submit two, so your scenerio should be fine (if you could legally work 2 full time jobs). You would disclose if both get approved. Thus, which ever job/h1b you take, you should withdraw the other case.