No. Being unlocked just means you can use any carrier that has the same network as the one you originally got it through. Also haven't both numbers doesn't mean anything in that respect. Quite a few devices have both numbers.
So, depending on your original carrier (who you purchased it through) will determine what network you can use.