You shouldn't need the receipt, although it wouldn't hurt to have it in your pocket. Even if they do "wipe" it in the store, Apple can probably still recover most (if not all) of your data if they wanted to. There's nothing you can do about it anyways, so it's not worth worrying about if you want a replacement.