The timing and intent matter. Here's what the Rules of Golf say ...