See this IRS info
https://www.irs.gov/individuals/international-taxpayers/departing-alien-clearance-sailing-permit