The best way is by number of days in each location. For example, you were in State A for 300 days and your benefit amount is $10,000. $10,000/366 days gives you $27.32 per day. $8,196 would be allocated to State A.
You have clicked a link to a site outside of the TurboTax Community. By clicking "Continue", you will leave the Community and be taken to that site instead.