As a comment, in some "elsewhere" places (Spain) they don't need to pay the notice weeks if they fire you in the first 3-6-12 or whatever was the testing period.
You don't need to give them notice either. At least in normal Spanish contracts. However, in Spain you are always elegible for unemployment salary (4 months for every worked year, when you file for it iirc), what you would not get is the severance, in case the dismissal was "fair" (despido procedente). Any Spanish worker that is unemployed and didn't leave their work willingly can file for unemployment salary, which is then given to them as 4 months of salary for every worked year, up to 2 years.
The only case when you might get unemployment salary denied is if you left your job, you were then hired by a company and they fired you after a day. This smells like you had a pact with the second company just so you got the salary, which is obviously fraud.