does the sim card have to be inserted to unlock/jailbreak?

was wondering if i had to insert my tmobile sim card before i unlocked/jailbreaked the iphone 2g with OS 3.0
I jb and unlocked my 3g without the sim in it, worked out fine.
no, you can jailbreak/unlock with out it.
Are you able to upgrade to 3.0 without an ATT Sim card?
we're supposed to take out the sim card while doing unlock? What happens if you do it with the sim card still in it?

Original thread: https://forums.imore.com/threads/does-the-sim-card-have-to-be-inserted-to-unlock-jailbreak.173611/