After you file

Of course.  They are separate tax returns.

Your federal tax refund is based on your federal tax payments and your federal tax liability.

Your state tax refund is based on your state tax payments and your state tax liability.