You may not need to file a tax return if had no income in 2023 regardless of whether or not you were a US citizen or resident alien that year. You can use this IRS worksheet to determine if you need to file a tax return: Do I need to file a tax return