It depends on both the person and the workout they are doing. Generally speaking, it is best to wait at least 5-10 minutes after a workout before sitting down. This will help allow your body to cool down and reduce the risk of injury.
In the end, it is important to just be aware of both the risks and benefits of sitting down after working out.