It is necessary but not sufficient. Banks also want formation documents, proof of address, identification for the beneficial owners, and sometimes a US presence.
Requirements vary by bank, and policies for foreign-owned companies differ widely. The EIN is the first step rather than the whole answer.
Inkle Books closes and reconciles your US books every month.
Full guide
How to Get an EIN for Your Startup?