Hi,
Each phone is either locked to a carrier, or 'carrier unlocked'. If your nephew had a contract with another carrier than Sprint, it's possible the iPhone is locked to them. If this is the case, you can contact the
(or have your nephew contact them) to unlock the device. It is possible they will ask for an unlocking fee.
See How to unlock your iPhone for use with another carrier - Apple Support for more information about unlocking.
If your nephew enabled Find my iPhone, but forgot to sign out of iCloud before giving the iPhone to your wife, send him a link to What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support or ask him to enter his password on the device so you can activate the phone.
If the iPhone is free of iCloud Activation lock and is not locked to another carrier than Sprint, yes, you can just put a SIM card in it and activate it within minutes.
Have a nice day!
Bakhtina