Can I switch my iPhones SD card to another iPhone?

I recently dropped my old iPhone in water and it doesn't work anymore, my friend gave me hers so that I can have something to use but I wanted to take her SD card out an out mine in so I can have my stuff from mine and she can keep all of her picture and stuff. Can I do that if hers is a 4s from sprint and mine is a regular 4 from AT&T?

IPhone doesn't use sdcards. Its all internal flash