I've done it both ways, without pulling the fork upper out of the bike, the seals leaked on me within a year-2yrs tops.
The last time I changed them I pulled the entire fork out of the bike and put in the new seal over the upper stanchion(as spelled out in the book) and I've had no leaks since.
YMMV.