Yes, the IRS will use the direct deposit information listed on either your 2018 or 2019 tax return. Please see How will the stimulus package impact me? for additional information.
You can also visit the following links for the most recent updates regarding these payments:
IRS Coronavirus Tax Relief
TurboTax Corona Virus Tax Center Updates