Then you think wrongly.
You're misinformed, or uninformed.
"Receptacles shall be installed so that no point measured horizontally along the floor line in any wall space is more than 1.8m (6ft) from a receptacle outlet. As used in this section, a wall space shall include the following: any space 600mm (2ft) or more in width (including space measured around corners) and unbroken along the floor line by doorways, fireplaces, and similar openings. ..." [2005 NEC, Article 210.52 (A)]
In other words ... a "wall space" begins at a doorway. To comply with this article, the maximum distance an outlet may be from a doorway is six feet; otherwise, there would necessarily be some point within that "wall space" more than six feet from an outlet.