This seems like a straightforward, common question that would not require a lawyer to answer, but I'm having a lot of trouble finding an answer to the question in the title.
I would like to form an LLC, primarily for the liability protection.
Even though I don't think I'll ever need or want to take investment, everyone says to incorporate in Delaware. I'm open to that.
I live in Virginia, but my startup has no real physical presence there. I work from home (or more often, a coffee shop or library), I don't have any physical inventory, employees, storefronts, etc. The company is just me and a laptop and some servers out in the cloud.
Virginia law says that if I "transact business" in VA then I need to file as a foreign corporation, but does not define what "transact business" means. In fact, all it does is provide a non-exhaustive list of things that don't count as "transacting business" (opening a bank account or holding meetings in VA, for example, don't count as transacting business).
If I form a Delaware LLC and have a registered agent there, do I need to register as a foreign corporation in Virginia? Under what circumstances (beyond the obvious like opening up a real brick-and-mortar office or store) would trigger the need to register as foreign corporation in Virginia or anywhere else.