After you file

The IRS can take as long as it wants, but must pay you interest after a certain point.