Deductions & credits

I wasn’t sure if the FTC could be used in aggregate vs keeping country A and country B. I’m moving from country A to country B and wasn’t sure if I could use Country A carryover for country B