It is hair after all.
No one actually does this. In practice people wrap the brush in a plastic bag and pretend they'll clean it tomorrow. Some time later they throw it away.
Here's a better method. Just leave the brush in the paint can. It'll stay good as long as the paint does.
This is what commercial painters do with their brushes, rollers, etc.