Age difference?

He'll be 18 on the 17 and I'll be 17 in September. Is this okay? He says that we need to be extra careful not to get caught having sex cause it's illegal once his birthday comes? Sometimes he says things just to say them. I was wondering if this was true. We're 13 months apart and been together for awhile now.