Correct
The verb "to lie" means "to recline." The past tense of "lie" is "lay." (Yes, the past tense of one verb is identical to the present tense of another verb: that is precisely why people confuse them!)