There may be some confusion, perhaps stemming from the passing of the actor who played Albert, Matthew Laborteaux. Laborteaux did not die during the show's production; he simply aged out of the role, and the character of Albert was written out.
It's worth noting that in the *Little House on the Prairie* books by Laura Ingalls Wilder, there is no character named Albert. The television show introduced him as a new character and expanded upon the Ingalls family's story.