There are benefits to showering in the morning and at night, so there is no obvious preferential time to take a shower be it AM or PM.
Morning showers are helpful for alleviating sleep inertia, and to provide a refreshing boost to set you up for the day ahead. With evening showers, you’re afforded the chance to relax and unwind in preparation for bed.