Depends on the cartridge.
Where I feel that it matters, I keep brass separated into lots (20, 50, 100) and track their use.
Mixing lots defeats the purpose. So there's no replacement of cases in a given lot with some other random piece of brass. If a piece is damaged or fails, that lot is short until the rest gets scrapped. It's as simple as that.
In general, we'd be talking about rifle cartridges and high pressure revolver cartridges for cases that get tracked. Most other cartridges are mix-and-match affairs (lots of brass, not necessarily head stamps).
A few benefits:
1. When one case fails or shows any indication that failure is imminent, it's a good indication that I need to take a better look at the whole lot.
2. Everything is always trimmed to the same length. I won't find myself suddenly having issues in the middle of reloading 50 rounds, because three 'replacement' cases are 0.023" longer, and one is 0.013" shorter, than the rest.
3. I get an idea of how long a particular lot will last, and I can use that information for planning. For example, if I know that LC 67 .30-06 is only good for about 7 full-power reloads, then it would be unintelligent to work up a new load with a new bullet and powder when that lot of brass already has 6 loads tallied. ...Because I'll have to start over with a new lot of brass after just 1-2 firings (possibly before I'm even done with load development!).
4. Just because head stamps are the same, doesn't mean the cases are the same. I don't use mixed brass for rifle cartridges or high pressure cartridges. And, since brass from the same company, even on the same day, can be quite variable in composition, capacity, and life expectancy, I sort and keep it sorted. By keeping brass sorted, segregated, and organized, my end product is higher quality: It's more consistent, more predictable, and more reliable (no pressure spikes causing hard extraction, for example).