No, staying home from work with a flu for one week is not too long if you really need to stay home and recover from the flu.
It's much better to stay home from work when you have the flu and let your body rest and recover than it is to go into work and try to work and be less productive as well as possibly spread the flu virus to others.
I have the flu right now and have been off work for 4 days so far and I won't return until I feel good enough, which is usually a bit after a week.
Give your body time to recover and drink plenty of fluids to stay hydrated and let your body fight off the flu virus.