You Can Pass the 30-Day Rule and Still Owe Washington Tax on Your Stock Sale
Washington's 30-day safe harbor makes you a nonresident — it doesn't change your domicile. Long-term stock gains are allocated by domicile at the time of sale, so the safe harbor alone won't protect your exit.