The retail giant said it had deliberated "a lot" before choosing New York and Arlington, Virginia, as the sites for its new headquarters.