Will a IPhone 4s phone still work even if i buy one without a contract?

Okay, So i'm buying an IPhone 4s off of Amazon and it has a Sprint plan. I do not have a sprint plan but i was wondering if i could still use it for Wi-Fi and Bluetooth without actually having a plan? Will this work? Or will i have to have a plan prior to actually using it?

I'm almost positive you need the plan!