If you do not make a purchase within 365 days, your XPoints will expire.
Only XPoints earned through a purchase count towards the 365 day timeline; XPoints earned in any other way (e.g. profile completion, surveys, etc.) will not count.
If you make a purchase, but you decide to return it, the 365 day countdown falls back to the date of your previous purchase.