App sharing in iOS 5
See Apple's excellent FAQ on multiple App Store and iCloud Accounts: http://support.apple.com/kb/HT4895

Particularly these sections:


Using the same Apple ID for Store purchases and iCloud (recommended)
Using an individual Apple ID for iCloud and a (different) shared Apple ID for Store
Purchases