However, saying yes to things is definitely more impressive to people than saying no. Sometimes that might mean sacrificing personal time in order to get stuff done at work. You don't have to, but the person who chooses to is more likely to be asked to do the next thing, and the next, and eventually that impacts your career progression. It can stunt your 'life progression' if you do too much of it though.
The counterpoint to all that is that the person who does good work and gets everything done in their work day, and doesn't need to work longer hours, is often even more impressive still.
As a rule bosses like capable people who are open to putting in more effort, but who don't need to put in more effort. Really, you need to understand how your boss thinks in order to impress them enough to move up.
Or worse, apply sales persuasion techniques to drive message home and do stuff your way.
It is all about office politics.