Likely they'll know between people who were caught in unfortunate circumstances and those who were laid off as low performers (as HappySquirrel said), but it would be idiotic for a company to have a blanket policy against it as you could miss people who are incredibly qualified for no good reason.
Monster Hunter: pissing me off since 2010.