From liggja (“to lie”) + í (“in”) + kör (“a bed in which one lies bedridden”). Compare karlægur (“bedridden on account of old age”).
liggja í kör