A stop payment notice is not effective unless given before the expiration of whichever of the following time periods is applicable:
(a) If a notice of completion, acceptance, or cessation is recorded, 30 days after that recordation.
(b) If a notice of completion, acceptance, or cessation is not recorded, 90 days after cessation or completion.