Not in the Constitution. Justices "hold their Offices during good Behaviour".
In the constitutiontradition and convention that governs the actual function of the US government, (small c) Justices can resign their office. There is no notice period and a Judge could resign as their first and only act in the office. It has never happened, neither in the supreme court nor in any inferior court.