Apple has released the GM Seed of the iOS 5.0 SDK. This signifies the final version that developers can use to test their apps for the eventual release of iOS on the 12 Oct 2011.
Developers can download the latest version from http://developer.apple.com/. Note that the GM Seed for your device cannot be download over-the-air from your device. You need to download it and manually update your device.