How should I prepare a 5 year old deck to be stained for the first time
Sanding would certainly be effective (you would need to at least rinse the deck after sanding), but sanding may not be necessary. If the wood is sound and smooth you may be able to use one of a large variety of deck cleaning products. The best bet would be to choose the stain first, then follow the prep directions recommended by the stain manufacturer.