US FEIE for income from US company?

Hi,

I was reading the article The Ultimate Tax Guide for American Nomads & Expats (2023) | Nomad Gate and wondered about FEIE (Foreign Earned Income Exclusion) … for the purposes of taxation, what location determines the source of earned income? Is it the location of the paying entity, where you are when the work is performed, or something else? For example, suppose I work for a US company paying a salary into a US bank account, but due to the nature of the work I’m able to work from any location around the world and spend more than 330 days out of the US in a consecutive 12 month period thus meeting the physical presence test mentioned in the article. Is such income subject to FEIE?