as long as it is indicated. Whole note? Half note? Quarter note? Eighth? ... of course does not apply to instruments such as drums, drums, triangle, ... because you can only hit a sound or leave it.
as with the spouse. As long as you want, or as long as you can. Depending on what happens first.