Sure, but you're less likely to be fired at short notice from a big company. Unless you do something stupid or illegal you will be put on a performance plan and have some time to get your act together. Lets say you're working at a startup on a h1b visa, if they decide to let you go with little notice you have a limited amount of time to line up another job or leave the country.