Investors & landlords

Thank you for the quick reply! Can I use the carryover loss for capital gain during non-resident period too?