Does sperm die when they contact with the air?

Do sperms die once they are out and have contact with the air? If by any chance I touch it with my pussy by accident is there any risk in getting pregnant?