After you file

both refunds come from separate places one will come from your state treasury department one will come from the federal. depends on how quick each is at doing refunds to which you receive first