iPhones have high resale value so you shouldn't keep one more than 2 years....
I disagree. The reality is, contract or off contract, you end up paying $650-$850 total over 2 years, through subsidizing if you bought on contract. So, $150-$350 is not even half what you paid for it. I'm done getting up to 1/3 what I paid for my iPhones.
I'm keeping my iPhone 5 as an iPod touch, it's still a great iOS device, runs iOS 8 well. I had carrier unlock it once my contract was done. (iPhone 6 is my new phone & main iOS device).
I never got an iPod (no mp3 player at all). I had my first iPhone (3G) for about 2 years before I put any music in it. I've since burned my CD collection to hard drive, and put playlists on my iPhone. But, lately I mostly stream music. Plus, it can be used as an extra phone in a room across the house through wifi now.
So now I have an iPod touch, my first iPod of any kind!