yeah, it takes lower back something like 72 hours to recuperate, and both of those movements work your lower back (squats not as much as deads, but still).. so i think you should do it on different days, so that you handle bigger weights in both exercises, and avoid an injury