To help ensure vegan milk has the longest life possible, tuck it away in the back of fridge, where the temperature is the coldest and steadiest. That controlled temperature will help keep it fresh.
When the vegan milk has sedimen, it doesn’t mean it’s gone bad. Just shake it up and it will be good to drink. If it’s still chunky after shaking, then it’s time to toss it.