Yes. Like any mechanical component, the filter on your vacuum will experience wear and tear over time, so it’s vital to maintain or replace it as the manufacturer recommends.
If you don’t, the filter could develop a hole, allowing dirt particles to escape back into your home, or become clogged and pose a fire risk.