Can you really Unlocked AT&T iPhone 5 by restoring in iTunes?

Is it true you can unlock the iPhone 5 on AT&T by simply restoring in iTunes?