You can file your federal tax return when you have all your 2022 tax information (W-2s, 1099s, etc.), and when all the tax forms and schedules in your return have been finalized. This can be as early as January 5, 2023, but that will depend on what forms/schedules are in your return.
The IRS will start processing returns on January 23, 2023.