"Allowing terminally ill and dying residents the dignity to make end-of-life decisions according to their own consciences is the right thing to do. I look forward to signing this legislation into law," Murphy, a Democrat, said in a statement after the Democrat-led Assembly and Senate passed the measure in close votes.