Answer:
Only if it comes from a kosher animal.
_________
Even if the liver comes from a kosher slaughtered animal, it still has to be kashered once you get it home. To do this, you have to grill it under high temp to sear off excess blood. Roasting the liver or cooking it anyway before doing the grilling step will render it treif.