Viruses don't live forever, and the current coronavirus is no exception. Current estimates for surfaces vary a bit, but I believe it's no more than 1-3 days for fabric. And of course, the decay is exponential. Finally, why would it matter if you inhale stuff you just exhaled? If you're already sick, it doesn't matter anyway. The mask is about you preventing others from getting sick; it only marginally protects you from other people.