Yes, absolutely! Legally the landlord has the right to show it BEFORE you leave so that he can get someone to take over as soon as you leave. However, he needs to notify you first that he will be showing it (not to get your permission but to allow you the choice of being there or not when he shows it).