This will depend on the stairs in question - check the manufacturer’s description carefully for information on a specific model.
Many sets of stairs can be folded, reducing the space they take up for compact storage. Others are solid (for instance foam steps), and must be stored as they are. The stairs can be stored almost anywhere in the house, but try to avoid damp areas to keep fabric covers from becoming musky.