So, if some guy hides it in your bag at the airport, with the intention of finding where you live, and you get to your home within the same day, you wont be notified about it for many days, or possibly months, if you leave your bag stationary at home.
Doesn't sound like a very good design.
>because other residents of an apartment building also own AirTags
How about just showing you a single alert (or stationary info page you could check optionally) "Airtag that's not yours travels with you, still here"?
You could then ignore it at public transport (where you expect others with airtags to be travelling along), but you could start getting suspicious if you still get that a "foreign airtag that travelled with you is still nearby" when you're at your home.