Vacuuming while milling is good… but it can be more dangerous than not if the vacuum doesn’t have a filter that blocks the particles. For CNC work a HEPA filter rated at 0.3 micron is necessary to meet the highest level of safety.
The 5 micron filters that are common are essentially useless in preventing the particles that are most dangerous to your lungs/health.