AirPods can work with any device that's running iOS 10 or later, watchOS 3 and macOS Sierra, or an Apple TV with tvOS 1 or later – so that includes iPhone 5, SE and the iPhone 6 and onwards. You will need an iCloud account though as that's what 'links' them to your devices