Strange - on my phone it has the option to turn on or off the WiFi when sleeping.
Tap on Wi-Fi which takes you to the screen which lists all the networks you can join, then tap on Advanced and there you have the option 'Keep Wi-Fi on during sleep' which has 3 sub options, 'Never', 'Only when Plugged in' and 'Always'.

































