The answer depends on your life insurance policy and what exclusions may apply to your life insurance coverage.
If you are a passenger in a vehicle and the driver is under the influence of alcohol and the car crashes and you die, the life insurance may or may not have an exclusion related to alcohol-related deaths.
However, most life insurance policies would pay out a claim based on the death of a passenger resulting from a car accident.
This may be a question you could review with your insurance agent, or request a written reply from the insurance company as to how the claim would be handled in this situation.
It is usually best to carefully review your life insurance policy and all exclusions to understand how your coverage works, and ask your insurance agent for a complete explanation, in writing, if needed.