Answer:
That would depend upon state and county laws and whether or not the writ must be served personally (handed to a particular individual), left with anyone at a specific address, or left attached at the entrance of a residence or business.
Also, what is the writ of possession for? Real property, especially a residence may have other statutory laws governing the timeframe for serving a writ for possession of that property.