You can do that if the player only has one type of unit at a time. (ie. Marine -or- Ghost, but not both at once)
When a Hydralisk gets killed and the player has a Marine, play shoot.wav.
When a Hydralisk gets killed and the player has a Ghost, play shoot2.wav.