It depends on the shelf life of the ingredients and whether you use a good preservative or not. Short lived oils like hemp might be good for 6 months in a product that contains a good preservative, maybe longer if you also use an effective antioxidant. If you use an ineffective or no preservative in a lotion or conditioner, the shelf life is only a few days to a week regardless of the other ingredients. Shampoo might be longer lived if its pH is high, but it too needs a preservative if it has a synthetic detergent base and a neutral to slightly acidic pH.