An independent prostration of recitation outside prayer requires the ordinary valid-prayer conditions: ritual purity, covering, facing the qibla and a clean place.
When performed within prayer on the imam's recitation, it is integrated into that valid prayer without a separate opening consecration or ending salam.