It depends on how active you are, what you eat, and what you do. If you're just some NEET that watches cartoons all the time but manages to eat decent food, then you could shower like twice a week and be fine.
However if you have the same diet but have a dirty job then showering before bed is a must unless you want to wind up with skin problems.
If you eat like shit you will smell like shit no matter what.