Fwiw, as xylo says it really does depend on fitness, session duration and maximal overload.
if you’ve gone hard, or are only slowly getting back into the swing of things, then it’s prob the smartest thing from both a msk and nervous system perspective to stay away from overloading and stretching the same muscle groups to avoid injury and allow muscle recovery (repletion of glycogen, muscle fiber repair etc)
This said, I have used submaximal load (60% ish, higher rep range) and training all with proper nutrition, stretching, foam rolling, (and cold showers(!)), to do more sequential or overlap muscle group work - e.g back to back day squat/deadlift training, and it worked out ok, and is used for high level athletes competing for specific sports.
Tldr: listen to your body, assess your fitness level, take things slow and lighter, progressive strength development is far better and sustainable than relapsing cycles cos of injury!