Yes, a deactivated iPhone can use WiFi. When an iPhone is deactivated, it is still able to connect to the internet and use other features like Bluetooth and AirDrop.