The only place for the topic sentence is in the beginning as its purpose is to attract readers so that they would like to read a work till the end. So, to answer your question, the topic sentence should never be in the last lines, where the conclusion of the whole work is written.