It depends. If your tenant is highly uncooperative or keeps the apartment in an unsightly condition, it may be advisable to wait for them to vacate before listing. This is because the condition of the apartment would make it impossible to take professional photos, and buyers who do view the property may lose interest in the unit simply because it’s messy or dirty.
If your tenant is uncooperative, they could refuse to provide access altogether.