You cannot be laid off because you took FMLA leave – that is interference or retaliation. But FMLA does not shield you from a genuine layoff that would have happened anyway; if your position is eliminated in a legitimate reduction unrelated to your leave, that can be lawful. The employer carries the burden of proving the layoff was unrelated, so timing and documentation matter.