Can you use the screen of a water damaged iPhone 5 to replace the screen of another iPhone 5?

I have a cracked iPhone 5 and my friend has an iPhone 5 that was dropped in water and will not turn on. Can I use the screen of the water damaged iPhone 5 to replace the cracked iPhone 5?

Theoretically it should work so probably yes