The word "XP duration" is used to discuss when a long-term resident leaves the United States. Many of us still think of it as giving up our American citizenship, but the law has evolved. Now, this term includes both. The law is really pretty simple: as you leave the United States, presumably forever, you pay income tax on all your appreciated property. Now, please enjoy the book.