Student or Learner
I've read that we can use present perfect simple for processes in the past. E.g. there shouldn't be practically no difference between 'I have worked here for 10 years' and 'I have been working here for 10 years' (perhaps there's more emphasis on the period of the time in the latter sentence, but basically it's the same. Is that true?)
And my main question is if the underlined sentence can be considered correct in the following context:
A: Have you taken the dog for a walk yet?
B: I have worked all day. I have just come home from work.
Thank you :)